package main

import (
	_ "fanhantech.com/tagdata/inits"
	_ "fanhantech.com/tagdata/routers"
	"github.com/astaxie/beego"
)

func main() {
	beego.SetLogger("file", `{"filename":"log/server","level":7,"maxlines":100000,"maxsize":0,"daily":true,"maxdays":365}`)
	beego.SetLogFuncCall(true)
	beego.SetLevel(beego.LevelInformational)
	beego.Run()
}
